package lec04.am.st;

class A {
	int x;
	static int y;
	void getX()
	{
		System.out.println(x);
	}
	static void  getY()
	{
		System.out.println(y);
	}
}

public class StaticDemo {
	public static void main(String[] args) {
		A.getY();
		//A.getX();
		A a = new A();
		a.getX();
		a.getY();
		A b = new A();
		a.x = 3;
		System.out.println(b.x);
		a.y=5;
		//A.x++;
		System.out.println(b.y);
	}
}
